<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    const e = 302033;
    const arr = e.toString().split("");
    const reArray = []
    let num = ''
    let sum = ''
    arr.forEach((value, index) => {
      if (value !== '0') {
        reArray.push(value)
      } else {
        num = num + '0'
      }
    })

    reArray.forEach((value, index) => {
      sum = sum + value
    })
    console.log('结果', Number(sum + num));
  </script>
</body>

</html>